<div class="paging">
    <?php
    echo $this->Paginator->options(array('update' => '#content', 'evalScripts' => false));
    echo $this->Paginator->prev('< ' . __('Anterior'), array(), null, array('class' => 'prev disabled'));
    echo $this->Paginator->numbers(array('separator' => ''));
    echo $this->Paginator->next(__('Siguiente') . ' >', array(), null, array('class' => 'next disabled'));
    ?>
</div>
<table id="tabla">
    <thead>
        <tr>
            <th><?php echo $this->Paginator->sort('Fecha recibido', 'PollClaim.fecha_recibido'); ?></th>
            <th><?php echo $this->Paginator->sort('Radicado de entrada', 'PollClaim.radicado_entrada'); ?></th>
            <th><?php echo $this->Paginator->sort('Calificación', 'PollClaim.calificacion'); ?></th>
            <th><?php echo $this->Paginator->sort('Concepto', 'PollClaim.concepto'); ?></th>
            <th></th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($PollClaims as $PollClaim): ?>
            <tr>
                <td><?php echo $PollClaim['PollClaim']['fecha_recibido']; ?></td>
                <td><?php echo $PollClaim['PollClaim']['radicado_entrada']; ?></td>
                <td><?php echo $PollClaim['PollClaim']['calificacion']; ?></td>
                <td><?php echo $PollClaim['PollClaim']['concepto']; ?></td>
                <td><?php echo $this->Ajax->link('Editar', array('controller' => 'PollClaims', 'action' => 'edit', $PollClaim["PollClaim"]["id"]), array('update' => 'content', 'indicator' => 'loading', 'class' => 'actions')); ?></td>
                <td><?php echo $this->Ajax->link('Eliminar', array('controller' => 'PollClaims', 'action' => 'delete', $PollClaim["PollClaim"]["id"],$tipo), array('update' => 'content', 'class' => 'actions', 'indicator' => 'loading')); ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<?php echo $this->Js->writeBuffer(); ?>
<br>
<?php echo $this->Ajax->link('Adicionar', array('controller' => 'PollClaims', 'action' => 'add', $proyect_id,$tipo), array('update' => 'content', 'indicator' => 'loading', 'class' => 'actions')); ?>